<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>字体转换</title>
    <!--这个例子演示了如何设置字体的转变。-->
    <style>
        p.normal {font-variant: normal;}
        p.small {font-variant: small-caps;}
    </style>
</head>
<body>
<p class="normal">My name is Hege Refsnes.</p>
<p class="small">My name is Hege Refsns.</p>
</body>
</html>